import router from 'next/router'
import { Button, Layout } from 'antd';
import Head from 'next/head';
const { Content } = Layout;
export default function () {
    return (
      <>
        <Head>
          <title>我是首页</title>
          <meta name="description" content="我是首页描述"/>
        </Head>
        <Content  style={{ margin: '20px auto' }}>
          <div>Home</div>
          <Button onClick={() => router.push('/user')}>/user</Button>
        </Content>
      </>
    )
}
